import Vue from 'vue'
import Router from 'vue-router'
import intercept from './intercept'

import routes from './routes'

Vue.use(Router)

const router = new Router({
  routes: routes
})

intercept(router, Vue)

export default router
